<%@ include file="/general/taglibs.jsp" %>
<%@ taglib prefix="stripes" uri="http://stripes.sourceforge.net/stripes.tld" %>
<stripes:layout-render name="/general/standard.jsp" title="Login to prjmanager">
    <stripes:layout-component name="contents">

        <table style="vertical-align: top;">
        <tr>
        <td style="width: 25%; vertical-align: top;">
        <!-- Somewhat contrived example of using the errors tag 'action' attribute. -->

        <stripes:form action="/actions/loginout/Login.action" focus="user.username">


            <table>
                <tr>
                    <td style="font-weight: bold;">Username:</td>
                </tr>
                <tr>
                    <td><stripes:text name="user.username"/></td>
                </tr>
                <tr>
                    <td style="font-weight: bold;">Password:</td>
                </tr>
                <tr>
                    <td><stripes:password name="user.password"/></td>
                </tr>
                <tr>
                    <td style="text-align: center;">
                            <%-- If the security servlet attached a targetUrl, carry that along. --%>
                        <stripes:hidden name="targetUrl" value="${request.parameterMap['targetUrl']}"/>
                        <stripes:submit name="create" value="Login"/>
                    </td>
                </tr>
            </table>


        </stripes:form>
    </stripes:layout-component>
</stripes:layout-render>

